home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
comms
/
gt1800_1.arj
/
RAMDISK.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-07-22
|
2KB
|
60 lines
echo off
echo .
echo . Use this .BAT file to run GT POWER from a RAM disk.
echo .
if "%1" == "" goto warn
if "%2" == "" goto warn
echo . Once GT POWER has been started, the program disk can be removed,
echo . but it will be needed when you exit GT POWER.
echo .
echo . NOTE: You may need to change the "Phone Directory PATH" in the
echo . GT POWER configuration file. Use the ALT-I command, then set
echo . it to point to the RAM disk.
echo .
pause
echo .
echo . Loading files to the RAM disk.
echo .
%2
echo on
copy %1*.dir
copy %1gt.cnf
copy %1gt.key
copy %1gt.log
copy %1gt.win
copy %1gt1800.ovl
set GTPATH=%2\
echo off
%1gt1800 %3 %4 %5 %6 %7 %8 %9
%1
echo .
echo . Saving the configuration and directory files.
echo .
echo on
copy %2*.dir
copy %2gt.cnf
copy %2gt.key
copy %2gt.log
goto fin
:warn
echo .
echo . ERROR: You must specify the drives to use!
echo .
echo . Example: "ramdisk d: e: s /d".
echo .
echo . Where: d: ..... is the program disk and
echo . e: ..... is the RAM disk, and
echo . s ..... is optional, the name of a
echo . script to execute, when GT is
echo . started.
echo . /d ..... is optional, the DTR switch, if present
echo . GT will NOT drop DTR upon exit to DOS.
echo .
echo . Also: The user should manually set the
echo . desired directory on the source drive
echo . before executing this .BAT file. And
echo . use the root directory of the ramdisk.
echo .
echo on
:fin